home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3dm / audio / ALgetdefault.z / ALgetdefault
Encoding:
Text File  |  1998-10-20  |  3.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. AAAALLLLggggeeeettttddddeeeeffffaaaauuuulllltttt((((3333ddddmmmm))))                                            AAAALLLLggggeeeettttddddeeeeffffaaaauuuulllltttt((((3333ddddmmmm))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ALgetdefault - (obsolete) returns the default value for an audio device
  10.      state variable
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      ####iiiinnnncccclllluuuuddddeeee <<<<ddddmmmmeeeeddddiiiiaaaa////aaaauuuuddddiiiioooo....hhhh>>>>
  14.  
  15.      lllloooonnnngggg AAAALLLLggggeeeettttddddeeeeffffaaaauuuulllltttt((((lllloooonnnngggg ddddeeeevvvviiiicccceeee,,,, lllloooonnnngggg ppppaaaarrrraaaammmmeeeetttteeeerrrr))))
  16.  
  17. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRR
  18.      _d_e_v_i_c_e      expects a device.  Currently there is only one device,
  19.                  AL_DEFAULT_DEVICE.
  20.  
  21.      _p_a_r_a_m_e_t_e_r   expects the symbolic constant for the device state variable
  22.                  for which you want the default value.
  23.  
  24. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  25.      AAAALLLLggggeeeettttddddeeeeffffaaaauuuulllltttt is obsolete and is provided for backward compatibility. The
  26.      preferred method to get the default value for a parameter is
  27.      aaaallllGGGGeeeettttPPPPaaaarrrraaaammmmIIIInnnnffffoooo((((3333ddddmmmm)))).
  28.  
  29.      AAAALLLLggggeeeettttddddeeeeffffaaaauuuulllltttt((((3333ddddmmmm)))) returns the default value for the device state variable
  30.      referenced in _p_a_r_a_m_e_t_e_r.
  31.  
  32.      Device state variables specify parameters of the audio hardware which can
  33.      be changed under program control.
  34.  
  35.      Default values are the values of the device parameters which are in
  36.      effect when the system is booted and represent suggested nominal values.
  37.      You can find a listing of parameters and their descriptions in
  38.      AAAALLLLggggeeeettttppppaaaarrrraaaammmmssss((((3333ddddmmmm)))).
  39.  
  40.      AAAALLLLggggeeeettttddddeeeeffffaaaauuuulllltttt((((3333ddddmmmm)))) can fail for the following reasons:
  41.  
  42.      AAAALLLL____BBBBAAAADDDD____DDDDEEEEVVVVIIIICCCCEEEE          _d_e_v_i_c_e is not AL_DEFAULT_DEVICE.
  43.  
  44.      AAAALLLL____BBBBAAAADDDD____DDDDEEEEVVVVIIIICCCCEEEE____AAAACCCCCCCCEEEESSSSSSSS   audio device is inaccessible.
  45.  
  46.      AAAALLLL____BBBBAAAADDDD____PPPPAAAARRRRAAAAMMMM           _p_a_r_a_m_e_t_e_r is not a valid parameter for _d_e_v_i_c_e.
  47.  
  48. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  49.      Upon successful completion, AAAALLLLggggeeeettttddddeeeeffffaaaauuuulllltttt((((3333ddddmmmm)))) returns the default value
  50.      for _p_a_r_a_m_e_t_e_r. Otherwise, AAAALLLLggggeeeettttddddeeeeffffaaaauuuulllltttt((((3333ddddmmmm)))) returns -1 and sets an error
  51.      number which can be retrieved with oooosssseeeerrrrrrrroooorrrr((((3333CCCC)))).
  52.  
  53. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  54.      ALgetparams(3dm), ALqueryparams(3dm), ALgetminmax(3dm), ALgetname(3dm),
  55.      oserror(3C)
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.